<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8">
<link
	href="${pageContext.request.contextPath}/css/common/bootstrap.min.css"
	rel="stylesheet">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/common/jquery-1.9.1.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/common/jquery.validate.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/designer/changePassword.js"></script>
<style>
* {
	font: 17px/1.5 Tahoma, Helvetica, Arial, '宋体', sans-serif;
}

.tiaozheng {
	width: 338px;
	text-align: left;
	margin: 17px;
	margin-left: 109px;
}

.addPhoto {
	margin: 13px;
	width: 638px;
	float: left;
	height: 50px;
}

.addForm label.error {
	color: #F06 !important;
	font-size: 12px;
	position: relative;
	top: -33px;
	left: 347px;
	font-weight: normal;
	vertical-align: middle;
	background: url(images/error.png) no-repeat left center;
	padding-left: 18px;
}
</style>
</head>

<body>

<c:if test="${msg!=null}">
	<script type="text/javascript">
	alert("${msg}");
	</script>
</c:if>

	<form
		action="${pageContext.request.contextPath}/user/updatePassword.do?id=${user_id}"
		method="post" class="addForm">
		<div class="tiaozheng">
			<div class="addPhoto">
				
				<span>原密码：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input
					type="password" class="input" name="oldPassword" />
			</div>
			<div class="addPhoto">
				<span>新密码：</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input
					type="password" class="input" name="newPSW" id="password" />
			</div>
			<div class="addPhoto">
				<span>确认密码：</span>&nbsp;&nbsp;&nbsp; <input type="password"
					class="input" name="confirm_password" />
			</div>
			<div class="addPhoto" style="position: relative; left: 14px;">
				<button class="btn btn-info" value="submit">确定</button>
			</div>
		</div>
	</form>
</body>


</html>